package com.hkts.naturalgas.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.base.entity.CalcinationDesulfurizationDenitration;
import com.hkts.naturalgas.base.entity.RoastingPurifyWetElectricity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-05-31
 */
public interface ICalcinationDesulfurizationDenitrationService extends IService<CalcinationDesulfurizationDenitration> {

    /**
     * 分页查询
     *
     * @param page
     * @param calcinationDesulfurizationDenitration
     * @return
     */
    IPage<CalcinationDesulfurizationDenitration> selectPage(Page<CalcinationDesulfurizationDenitration> page, CalcinationDesulfurizationDenitration calcinationDesulfurizationDenitration);

    List<CalcinationDesulfurizationDenitration> selectList(CalcinationDesulfurizationDenitration calcinationDesulfurizationDenitration);

    IPage<CalcinationDesulfurizationDenitration> selectPageByTime(Page<CalcinationDesulfurizationDenitration> page, String startDate, String endDate);

    IPage<CalcinationDesulfurizationDenitration> getBrokenLineGraph(Page<CalcinationDesulfurizationDenitration> page, String startDate, String endDate);


    void dataHandler();

    void exportData(HttpServletRequest request, HttpServletResponse response);

    void importByFiles(List<CalcinationDesulfurizationDenitration> list);

    CalcinationDesulfurizationDenitration getDataByTime(String time);
    void deleteAll();

    void handlerData519() throws ParseException;

    void handlerTimeDifferenceData(String format, String format1);

    void updateFtByTime();
    void deleteFtByTime();
}